package fr.insee.rome.string.comp;

public interface StringComparator {

	static final int THRESHOLD = 30;
	
	int distance(CharSequence a, CharSequence b);
	int likeness(CharSequence a, CharSequence b);
	boolean matches(CharSequence a, CharSequence b);
	boolean matches(CharSequence a, CharSequence b, int threshold);
}
